:FileWriteStringFromMemoryAddress
{
 Dependencies:
  - dataTypes.txt
  
 Description: 
    Writes a string placed on memory address, NULL terminated   
  
 Parameters:
   Passed:
     0@ - file handle
     1@ - pointer to memory string
     
   Result:
     none
 
 Example:
 0AB1: call_scm_func @FileWriteStringFromMemoryAddress 2 fileHandle 0@ memoryString 2@     
}

    while true
    0A8D: 2@ = read_memory 1@ size 1 virtual_protect false
        if
        2@ <> false
        jf break
    0A9E: writefile 0@ size 1 from 2@
    Inc(1@)
    end

0AB2: ret 0